Delete Worksheet
Command Prototype
Excel.DeleteSheet(objExcelWorkBook,sheet,bSave)
Command Description
Delete the specified sheet
Parameter Description
- Required Parameter
- objExcelWorkBook--Excel workbook object (workbook opened with "Open Excel" command (Excel.OpenExcel))
- sheet--If a string is used, it refers to the name of the specified sheet; if a number is used, it refers to the index of the specified sheet (starting from 0)
- bSave--Save immediately after an operation